package cn.mall.auth.domain;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

import cn.mall.base.domain.BaseDomain;
import lombok.Data;

/**
 * <p>
 *
 * </p>
 *
 * @author Jarvis-Smith
 * @since 2023-11-30
 */
@Data
public class Permission extends BaseDomain{

    private static final long serialVersionUID = 1L;

    private Long id;
    private String name;
    private String url;
    private String descs;
    private String sn;
    /**
     * 父级权限的id
     */
    private Long parentId;

    private Permission parent;

    private List<Permission> children;
}
